﻿@model TYAJZWeb.Models.EquipmentEditModel
@{
    ViewBag.Title = "设备详细信息";
}
@section BodyNav
{
    > @Html.ActionLink("备案设备列表", "List", "Equipment") > @Html.ActionLink("设备详细信息", "Detail", new { Id = Model.Id }, null)
> 修改设备
}
@using (Html.BeginForm())
{
    <table class="edit">
        <tr>
            <th width="150">
                @Html.LabelFor(m => m.Name)
            </th>
            <td>
                @Html.DisplayFor(m => m.Name)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.Eq_No)
            </th>
            <td>@Html.EditorFor(m => m.Eq_No)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.InspectNO)
            </th>
            <td>@Html.EditorFor(m => m.InspectNO)
            </td>
        </tr>
        <tr>
            <th>@Html.LabelFor(m => m.LimitedYears)
            </th>
            <td>@Html.EditorFor(m => m.LimitedYears)
            </td>
        </tr>
        <tr>
            <td colspan="2">
                @Html.HiddenFor(t => t.Id)
                <input type="submit" value="保存" class="btnBtn" />
                @Html.ActionLink("返回设备详细信息", "Detail", new { Id = Model.Id }, new { @class = "lnkBtn" })
            </td>
        </tr>
    </table>
}